{% extends 'Web/layout_main.html.twig' %}

{% block myCss %}
{% endblock %}



{% block adBanner %}
    {#banner_ad_2#}
    {% if adBannerArray.ziliao is defined %}
        <div class="mart20 marb20 bdso">
            <a href="{{ adBannerArray.ziliao.url }}"><img class="w100" src="{{ adBannerArray.ziliao.pic }}" alt="banner_ad_1"></a>
        </div>
    {% endif %}
{% endblock %}

{% block main %}
    <div class="row">
        <div class="col-md-8 col-sm-12 col-xs-12">
            {#申论栏目 start#}
            <div class=" mart10">
                <div class="row fs18 c1 col-md-12">
                    <div class="col-md-12 flrc">
                        <div class="flex1">
                            <span class="fa fa-folder-open"></span>
                            <span class=" fwb">申论</span>
                        </div>
                        <div class="fs14">
                            <a href="{{ path("articleCatList",{id:id_sl}) }}">
                                <span class="padr5">查看更多</span>
                                <span class="fa fa-angle-double-right"></span>
                            </a>
                        </div>
                    </div>
                </div>
                <div class="tab_wrap container bdso   col-md-12">
                    <div class="row tac lh2">
                        {% for index,item in  list_sl%}
                            <a href="{{ path("articleCatList",{id:item.id}) }}"><div data-id="{{ item.id }}" class="tab col-md-2 col-sm-3 col-xs-3 padt5 padb5 {{ index == 0?'jb00 c13':'bc13 c11' }}">{{ item.name }}</div></a>
                        {% endfor %}
                    </div>
                    <div class="padt10 padb8">
                        {% for index,cat in list_sl %}
                            <div class="row tab_content tab_content_{{ cat.id }}" {{ index==0?'':'style="display: none"' }} >
                                {{  render(path("ArtListPic",{category:cat.id,page:0,limit:18,tpl:'list_icon_6'})) }}
                            </div>
                        {% endfor %}
                    </div>
                </div>
            </div>
            {#申论栏目 end#}


            {#行测栏目 start#}
            <div class=" mart10">
                <div class="row fs18 c1 col-md-12 mart20">
                    <div class="col-md-12 flrc">
                        <div class="flex1">
                            <span class="fa fa-folder-open"></span>
                            <span class=" fwb">行测</span>
                        </div>
                        <div class="fs14">
                            <a href="{{ path("articleCatList",{id:id_xc}) }}">
                                <span class="padr5">查看更多</span>
                                <span class="fa fa-angle-double-right"></span>
                            </a>
                        </div>
                    </div>
                </div>
                <div class="tab_wrap container bdso   col-md-12">
                    <div class="row tac lh2">
                        {% for index,item in  list_xc%}
                            <a href="{{ path("articleCatList",{id:item.id}) }}"><div data-id="{{ item.id }}" class="tab col-md-2 col-sm-3 col-xs-3 padt5 padb5 {{ index == 0?'jb00 c13':'bc13 c11' }}">{{ item.name }}</div></a>
                        {% endfor %}
                    </div>
                    <div class="padt10 padb8">
                        {% for index,cat in list_xc %}
                            <div class="row tab_content tab_content_{{ cat.id }}" {{ index==0?'':'style="display: none"' }} >
                                {{  render(path("ArtListPic",{category:cat.id,page:0,limit:18,tpl:'list_icon_6'})) }}
                            </div>
                        {% endfor %}
                    </div>
                </div>
            </div>
            {#行测栏目 end#}

            {#公安专业科目栏目 start#}
            <div class=" mart10">
                <div class="row fs18 c1 col-md-12 mart20">
                    <div class="col-md-12 flrc">
                        <div class="flex1">
                            <span class="fa fa-folder-open"></span>
                            <span class=" fwb">公安专业科目</span>
                        </div>
                        <div class="fs14">
                            <a href="{{ path("articleCatList",{id:id_ga}) }}">
                                <span class="padr5">查看更多</span>
                                <span class="fa fa-angle-double-right"></span>
                            </a>
                        </div>
                    </div>
                </div>
                <div class="tab_wrap container bdso   col-md-12">
                    <div class="row tac lh2">
                        {% for index,item in  list_ga%}
                            <a href="{{ path("articleCatList",{id:item.id}) }}"><div data-id="{{ item.id }}" class="tab col-md-2 col-sm-3 col-xs-3 padt5 padb5 {{ index == 0?'jb00 c13':'bc13 c11' }}">{{ item.name }}</div></a>
                        {% endfor %}
                    </div>
                    <div class="padt10 padb8">
                        {% for index,cat in list_ga %}
                            <div class="row tab_content tab_content_{{ cat.id }}" {{ index==0?'':'style="display: none"' }} >
                                {{  render(path("ArtListPic",{category:cat.id,page:0,limit:18,tpl:'list_icon_6'})) }}
                            </div>
                        {% endfor %}
                    </div>
                </div>
            </div>
            {#公安专业科目栏目 end#}

            {#时政热点栏目 start#}
            <div class=" mart10">
                <div class="row fs18 c1 col-md-12 mart20">
                    <div class="col-md-12 flrc">
                        <div class="flex1">
                            <span class="fa fa-folder-open"></span>
                            <span class=" fwb">时政热点</span>
                        </div>
                        <div class="fs14">
                            <a href="{{ path("articleCatList",{id:id_sz}) }}">
                                <span class="padr5">查看更多</span>
                                <span class="fa fa-angle-double-right"></span>
                            </a>
                        </div>
                    </div>
                </div>
                <div class="tab_wrap container bdso   col-md-12">
                    <div class="row tac lh2">
                        {% for index,item in  list_sz%}
                            <a href="{{ path("articleCatList",{id:item.id}) }}"><div data-id="{{ item.id }}" class="tab col-md-2 col-sm-3 col-xs-3 padt5 padb5 {{ index == 0?'jb00 c13':'bc13 c11' }}">{{ item.name }}</div></a>
                        {% endfor %}
                    </div>
                    <div class="padt10 padb8">
                        {% for index,cat in list_sz %}
                            <div class="row tab_content tab_content_{{ cat.id }}" {{ index==0?'':'style="display: none"' }} >
                                {{  render(path("ArtListPic",{category:cat.id,page:0,limit:18,tpl:'list_icon_6'})) }}
                            </div>
                        {% endfor %}
                    </div>
                </div>
            </div>
            {#时政热点栏目 end#}

            {#面试栏目 start#}
            <div class=" mart10">
                <div class="row fs18 c1 col-md-12 mart20">
                    <div class="col-md-12 flrc">
                        <div class="flex1">
                            <span class="fa fa-folder-open"></span>
                            <span class=" fwb">面试</span>
                        </div>
                        <div class="fs14">
                            <a href="{{ path("articleCatList",{id:id_ms}) }}">
                                <span class="padr5">查看更多</span>
                                <span class="fa fa-angle-double-right"></span>
                            </a>
                        </div>
                    </div>
                </div>
                <div class="tab_wrap container bdso   col-md-12">
                    <div class="row tac lh2">
                        {% for index,item in  list_ms%}
                            <a href="{{ path("articleCatList",{id:item.id}) }}"><div data-id="{{ item.id }}" class="tab col-md-2 col-sm-3 col-xs-3 padt5 padb5 {{ index == 0?'jb00 c13':'bc13 c11' }}">{{ item.name }}</div></a>
                        {% endfor %}
                    </div>
                    <div class="padt10 padb8">
                        {% for index,cat in list_ms %}
                            <div class="row tab_content tab_content_{{ cat.id }}" {{ index==0?'':'style="display: none"' }} >
                                {{  render(path("ArtListPic",{category:cat.id,page:0,limit:18,tpl:'list_icon_6'})) }}
                            </div>
                        {% endfor %}
                    </div>
                </div>
            </div>
            {#面试栏目 end#}
        </div>
        <div class="col-md-4 col-xs-12 col-sm-12">
            {#线上小测试 start#}
            <div class="padt10 ">
                <div class="c1 fs18 flex-r ">
                    <div class="fa fa-stop padr10"> </div>
                    <div class="fwb">线上小测试</div>
                    <div class="fs14 flex1 tar">
                        <a href="{{ path("articleCatList",{id:id_xscs}) }}">
                            <span class="fa fa-angle-double-right"></span><span class="padr5">更多</span>
                        </a>
                    </div>
                </div>
                <div class="bdso  pad10 ">
                    {{  render(path("ArtListPic",{category:id_xscs,page:0,limit:10,tpl:'list_side'})) }}
                    {#{% for item in 1..10 %}#}
                        {#<div class="flrc pad3 c11">#}
                            {#<div class="fa fa-caret-right fs6 c12 pad5"></div>#}
                            {#<div class="ofe flex1">申论范文：互联互通，工模发展（2019浙江A卷）申论范文：互联互通，工模发展（2019浙江A卷）申论范文：互联互通，工模发展（2019浙江A卷）</div>#}
                        {#</div>#}
                    {#{% endfor %}#}
                </div>
            </div>
            {#线上小测试 end#}

            {#公安基础知识下载 start#}
            <div class="padt4">
                <div class="c1 mart20 fs18 flex-r ">
                    <div class="fa fa-stop padr10"></div>
                    <div class="fwb">公安基础知识下载</div>
                    <div class="fs14 flex1 tar">
                        <a href="{{ path("articleCatList",{id:id_gajc}) }}">
                            <span class="fa fa-angle-double-right"></span><span class="padr5">更多</span>
                        </a>
                    </div>
                </div>
                <div class="bdso pad10   ">
                    {{  render(path("ArtListPic",{category:id_gajc,page:0,limit:10,tpl:'list_side'})) }}
                    {#{% for item in 1..10 %}#}
                        {#<div class="flrc pad3 c11 ">#}
                            {#<div class="fa fa-caret-right fs6 c12 pad5"></div>#}
                            {#<div class="ofe flex1">申论范文：互联互通，工模发展（2019浙江A卷）申论范文：互联互通，工模发展（2019浙江A卷）申论范文：互联互通，工模发展（2019浙江A卷）</div>#}
                        {#</div>#}
                    {#{% endfor %}#}
                </div>
            </div>
            {#线上小测试 end#}

            {#试题下载区 start#}
            <div class="">
                <div class="c1 mart20 fs18 flex-r   ">
                    <div class="fa fa-stop padr10"></div>
                    <div class="fwb">试题下载区</div>
                    <div class="fs14 flex1 tar">
                        <a href="{{ path("articleCatList",{id:id_stxz}) }}">
                            <span class="fa fa-angle-double-right"></span><span class="padr5">更多</span>
                        </a>
                    </div>
                </div>
                <div class="bdso padb2 col-md-12 tab_wrap ">
                    <div class="tac row lh2">
                        {% for index,item in  list_stxz%}
                            <a href="{{ path("articleCatList",{id:item.id}) }}"><div data-id="{{ item.id }}" class="tab col-md-4 col-sm-6 col-xs-6 padt5 padb5 {{ index == 0?'jb00 c13':'bc13 c11' }}">{{ item.name }}</div></a>
                        {% endfor %}
                    </div>
                    <div class="padt10 padb8 ">
                        {% for index,cat in list_stxz %}
                            <div class="tab_content tab_content_{{ cat.id }}" {{ index==0?'':'style="display: none"' }} >
                                {{  render(path("ArtListPic",{category:cat.id,page:0,limit:10,tpl:'list_side'})) }}
                            </div>
                        {% endfor %}
                    </div>
                    {#<div class="tac lh2 flrc">#}
                        {#<div class="flex1 padt5 padb5 jb00 c13">申论</div>#}
                        {#<div class="flex1 padt5 padb5 bc13 c11">行测</div>#}
                    {#</div>#}
                    {#<div class="pad10">#}

                        {#{% for item in 1..21 %}#}
                            {#<div class="flrc pad3 c11">#}
                                {#<div class="fa fa-caret-right fs6 c12 pad5"></div>#}
                                {#<div class="ofe flex1">申论范文：互联互通，工模发展（2019浙江A卷）</div>#}
                            {#</div>#}
                        {#{% endfor %}#}
                    {#</div>#}
                </div>
            </div>
            {#试题下载区 end#}


        </div>
    </div>


{% endblock %}

{% block myJs %}
{% endblock %}